package com.sky.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Comment {

    //评论id
    private Long  id;

    //博客id
    private Integer blogId;

    //用户id
    private Long userId;

    //评论内容
    private String content;

    //父评论 ID
    private Long parentId;

    //回复的评论id
    private  Long replyUserId;

    //回复层级
    private Integer level;

    //创建时间
    private LocalDateTime createTime;

    //用户名
    private String userName;

    //头像地址
    private String image;

    //
    private String replyUserName;

    //回复id
    private String replyCommentId;

    //创建人id
    private Long createUser;

    //更新人id
    private Long updateUser;

    //更新时间
    private LocalDateTime updateTime;
}
